{"id":17180803,"url":"https://github.com/jsok/scribbly","last_synced_at":"2025-10-14T09:11:23.009Z","repository":{"id":5604829,"uuid":"6811953","full_name":"jsok/scribbly","owner":"jsok","description":"Scribbly ERP","archived":false,"fork":false,"pushed_at":"2014-05-24T02:03:43.000Z","size":727,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T03:15:19.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-22T11:15:31.000Z","updated_at":"2014-05-24T02:03:43.000Z","dependencies_parsed_at":"2022-07-07T07:34:03.781Z","dependency_job_id":null,"html_url":"https://github.com/jsok/scribbly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsok%2Fscribbly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsok%2Fscribbly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsok%2Fscribbly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsok%2Fscribbly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsok","download_url":"https://codeload.github.com/jsok/scribbly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245377958,"owners_count":20605374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T00:31:48.067Z","updated_at":"2025-10-14T09:11:22.902Z","avatar_url":"https://github.com/jsok.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Scribbly ERP\n============\n\nOverview\n---------\n\nThis project is an exercise in:\n - Domain Driven Design\n - Test Driven Development\n - Pythonic packages and modules\n - SQLAlchemy and Alembic integration\n\n\nInstallation\n------------\n\nCreate virtualenv:\n```\n# virtualenv virtualenv\n# source virtualenv/bin/activate\n```\n\nInstall requirements:\n```\n# pip install --requirement=requirements.txt\n```\n\nDomain\n------\n\n### Entities ###\n\nThe domain entity groups are:\n- Inventory: To track movement of stock\n- Sales: Documents which describe purchase orders and invoices containing costs of goods sold\n- Products: Details of goods for sale\n- Taxons: Hierarchical grouping of products\n- Customers: Entities which are able to purchase products and be invoiced\n\n### Services ###\n\nDomain services are:\n- Pricing service: Calculate product discounts based on product category and customer discount tier\n- Ordering service: Collect orders and acknowledge them\n- Delivery service: Aggregate orders from a customer into a delivery\n- Invoicing service: Create invoices for deliveries, orders or ad-hoc\n\n### Tests ###\n\nRun tests:\n```\n# nosetests domain -d -v [--with-coverage --cover-branches --cover-package=domain --cover-html]\n```\n\nInfrastructure\n--------------\n\n### Persistence ###\n\nComprised of:\n- SQLAlchemy: Database library used to perform all database calls\n- alembic: Migrations tool\n\n### Tests ###\n\nRun tests:\n```\n# nosetests infrastructure -d -v -s\n```\n\nOptions available:\n\n- `export SQLITE_ECHO=1` for more database engine verbosity\n- `export SQLITE_IN_MEMORY=1` to run tests on in-memory sqlite instance\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsok%2Fscribbly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsok%2Fscribbly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsok%2Fscribbly/lists"}