A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
A tool for uploading and managing projects in Claude.ai
sorry, I suck at naming
Claude-Pyrojects is a Python package that allows you to easily upload your entire project directory to a Claude project. By doing this, Claude can access your project files and utilize them effectively. This is particularly useful for leveraging Claude's capabilities in understanding and interacting with your codebase.
Special thanks to the creators of ClaudeAPI, specifically n0kovo's branch
.ignore file to specify folders and files that should be excluded from the upload.claude_pyrojects.ignore file.To install Claude-Pyrojects, use pip:
pip install claude-pyrojects
The first step is to initialize the project. This will create the necessary configuration files, including the ignore file (claude_pyrojects.ignore) and save your session key.
Refer to this on how to get your session key.
python -m claude-pyrojects.cli init -K "your_session_key"
Once your project is initialized, you can create a new project in Claude. This will upload your entire project directory, excluding any files and folders specified in the ignore file.
python -m claude-pyrojects.cli create -N "Your Project Name"
As your project evolves, you might need to re-upload it to Claude to reflect the latest changes. The update command reinitializes the project by clearing all existing files and re-uploading the current state of your directory.
python -m claude-pyrojects.cli update
The claude_pyrojects.ignore file allows you to specify folders, file extensions, specific filename substrings, and relative paths to exclude from the upload process.
Example claude_pyrojects.ignore:
ignore_folders=[".venv", ".idea", ".vscode", "__pycache__", ".git"]
ignore_file_extensions=["pdf", "jpg", "png", "pyc", "manifest"]
ignore_name_includes=["claude_pyrojects", ".DS_Store"]
ignore_relative_paths=["docs/build", "tests/temp", "data/cache"]
"folder/subfolder" or "src/tests/fixtures".ignore_relative_paths=[
"docs/build", # Ignores the build folder inside docs
"tests/temp", # Ignores the temp folder inside tests
"data/cache", # Ignores the cache folder inside data
"frontend/node_modules", # Ignores node_modules in frontend folder
"src/generated" # Ignores the generated folder inside src
]
Note: Relative paths are normalized to work across different operating systems (Windows, macOS, Linux). You can use either forward slashes / or backslashes \ - they will be handled correctly.
In order to change the session key, simply look for the claude_pyrojects.key file and replace its contents with your new key
This project provides an unofficial API for Claude AI and is not affiliated with or endorsed by Claude AI or Anthropic. Use it at your own risk.
Please refer to the official Claude AI documentation for more information on how to use Claude AI.
npx CLI installing 100+ agents, commands, hooks, and integrations in one command
Native macOS app to monitor Claude AI usage limits and watch your coding sessions live
干净、强大、属于你的 AI Agent 平台 --AI agents, without the clutter.
Pocket Flow: Codebase to Tutorial